<template>
  <page-wrap back hide-tab title="结果页" stay-still>
    <view class="all">
      <img :src="resumeSaveSuccessIcon" />
      <view class="big">{{ "保存成功" }}</view>
      <view class="small">已上传简历至我的-简历附件中</view>
      <view class="btns">
        <view class="return" @click="toEnclosure">查看保存结果</view>
        <view class="return return2" @click="toResumeAssessment">下一步简历诊断</view>
      </view>
    </view>
  </page-wrap>
</template>

<script>
import ShareMixin from "@/mixins/share";
export default {
  mixins: [ShareMixin],

  data() {
    return {
      resumeSaveSuccessIcon:
        this.$imgBaseSelf + "resume/resumeSaveSuccessIcon.png",
      onlySend: "0",
    };
  },
  onLoad(option) {
    this.onlySend = option.onlySend;
  },
  methods: {
    toEnclosure() {
      uni.redirectTo({
        url: `/pagesSub/userCenter/enclosure/index`,
      });
    },
    toResumeAssessment() {
      uni.redirectTo({
        url: "/pagesSub/newResume/resumeAssessment/index",
      });
    },
  },
};
</script>

<style lang="scss">
$img-base-login: $img-base + "login/";
.all {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding-top: 124rpx;
  img {
    width: 240rpx;
    height: 240rpx;
  }
  .big {
    font-family: PingFang-SC, PingFang-SC;
    font-weight: bold;
    font-size: 40rpx;
    color: #222222;
    line-height: 40rpx;
  }
  .small {
    margin-top: 26rpx;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 28rpx;
    color: #333333;
    line-height: 40rpx;
    text-align: left;
    font-style: normal;
  }
  .btns {
    display: flex;
    justify-content: center;
    margin-top: 204rpx;
    .return {
      padding: 20rpx 80rpx;
      text-align: center;
      color: #f75a3e;
      border: 1px solid #f75a3e;
      border-radius: 16rpx;
    }
    .return2 {
      color: #fff;
      background: #f75a3e;
      margin-left: 26rpx;
    }
  }
}
</style>
